//
//  AppDelegate.h
//  Molian
//
//  Created by wansong on 3/16/15.
//  Copyright (c) 2015 xiaocan. All rights reserved.
//
/*
                               _ooOoo_
                              o8888888o
                              88" . "88
                              (| -_- |)
                              O\  =  /O
                           ____/`---'\____
                         .'  \\|     |//  `.
                        /  \\|||  :  |||//  \
                       /  _||||| -:- |||||-  \
                       |   | \\\  -  /// |   |
                       | \_|  ''\---/''  |   |
                       \  .-\__  `-`  ___/-. /
                      ___`. .'  /--.--\  `. . __
                    ."" '<  `.___\_<|>_/___.'  >'"".
                   | | :  `- \`.;`\ _ /`;.`/ - ` : | |
                   \  \ `-.   \_ __\ /__ _/   .-` /  /
               ======`-.____`-.___\_____/___.-`____.-'======
                                  `=---='
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                           佛祖保佑       永无BUG
  */
#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import "WXApi.h"
#import "MLTabBar.h"

@class SendMessageToWeiboViewController;

@interface AppDelegate : UIResponder <UIApplicationDelegate, CLLocationManagerDelegate, EMChatManagerDelegate,WXApiDelegate,IChatManagerDelegate>
{
    EMConnectionState _connectionState;
    // 语音通话
    UIView *_networkStateView;
    BOOL networkStatebool;
}


@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) MLTabBar *mainController;


//加载试图,根据登录状态
- (void)foundRootViewController;

//微博
@property (strong, nonatomic) SendMessageToWeiboViewController *viewController;
@property (strong, nonatomic) NSString *wbtoken;
@property (strong, nonatomic) NSString *wbCurrentUserID;


- (void)loginToEasemob ;

-(void)appout;

@end

